/*
 * TMap Designer - A Thematic Map design software
 * Copyright (C) 2006 World Health Organization
 * http://www.who.int
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
package who.tmap.ui.util;

import java.awt.Rectangle;

/**
 * Stored frame preferences for saving configuration
 * @see ConfigFileHelper
 * @author stl
 *
 */
public class FramePreferences {

	private String name;
	private Rectangle rect;
	private int zOrder;
	private boolean icon;
	private boolean maximum;
	private int splitPanePosition;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Rectangle getRect() {
		return rect;
	}
	
	public void setRect(Rectangle rect) {
		this.rect = rect;
	}
	
	public int getZOrder() {
		return zOrder;
	}
	
	public void setZOrder(int order) {
		zOrder = order;
	}
	
	public boolean isIcon() {
		return icon;
	}

	public void setIcon(boolean icon) {
		this.icon = icon;
	}

	public boolean isMaximum() {
		return maximum;
	}

	public void setMaximum(boolean maximum) {
		this.maximum = maximum;
	}

	public int getSplitPanePosition() {
		return splitPanePosition;
	}

	public void setSplitPanePosition(int splitPanePosition) {
		this.splitPanePosition = splitPanePosition;
	}	
	
}
